package marseillaisdu90.modele;

import java.util.ArrayList;

import marseillaisdu90.student_life.R;

/**
 * 
 * Cette classe est très importante car elle possède une liste de pièce à
 * laquelle on ajoute les pièces contenant les personnages et les objets
 * 
 * @author guillaume
 * 
 */
public class CreationPiece {

	// ATTRIBUTS
	private Piece piece;
	private Objet obj;
	private Personnage perso;
	private Sortie s;
	// id est static pour que l'on puisse y accéder depuis les autres classes
	public static ArrayList<Piece> id = new ArrayList<Piece>();

	/**
	 * 
	 * Constructeur qui initialise chaque pièce, chaque personnage, chaque objet
	 * et que l'on ajoute ensuite à la liste de pièces "id"
	 * 
	 */
	public CreationPiece() {

		premierEtage();
		deuxiemeEtage();
		troisiemeEtage();
		obstacle();

	}

	// Getteur pour la liste de piece
	public ArrayList<Piece> getid() {
		return id;
	}

	/**
	 * 
	 * méthode permettant de créer un obstacle pour chaque personnage présent
	 * dans le jeu afin que le joueur ne puisse pas se retrouver par dessus un
	 * personnage
	 * 
	 */
	public void obstacle() {

		for (Piece piece : id) {
			for (Personnage pers : piece.ListePersonnage)
				id.get(piece.getNumPiece()).topographie[pers.getPosY()][pers
						.getPosX()] = 1;
		}

	}

	public void premierEtage() {

		/*******************************************************
		 * Couloir RDC *
		 *******************************************************/

		int[][] couloir_RDC = new int[][] {
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 0, 1 },
				{ 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1,
						1, 1, 1, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 }, };

		// on crée une nouvelle pièce avec son nom en attribut et sa définition,
		// son nom de tableau,et sa musique de fond
		piece = new Piece(0, "COULOIR RDC", "couloir du rez-de-chaussez",
				couloir_RDC, R.drawable.couloir_0, R.raw.out_of_this_club, true);

		// --- PERSONNAGE(S) MESSAGE ---
		perso = new Personnage("Tableau",
				"Des informations concernant l'IUT sont affichées", 14, 6,
				R.drawable.interaction, "Message", 2);
		piece.ajouterPerso(perso);
		/*
		 * on ajoute un personnage(du moins un tableau qui affiche des infos)
		 * avec son nom, sa définition, ses coordonnées, son image png, le type
		 * d'interaction, et le numero d'ineraction
		 */

		perso = new Personnage("Tableau",
				"Des informations concernant l'IUT sont affichées", 15, 6,
				R.drawable.interaction, "Message", 2);
		piece.ajouterPerso(perso);
		/*
		 * on ajoute un personnage qui donne des informations, avec son nom, sa
		 * définition, ses coordonnées, son image png, le type d'interaction, et
		 * le numero d'ineraction
		 */

		perso = new Personnage("question", "Etudiant a L'IUT", 10, 12,
				R.drawable.ptit_jo, "Message", 51);
		piece.ajouterPerso(perso);

		perso = new Personnage("poubelle", "poubelle RDC", 1, 6,
				R.drawable.interaction, "Message", 5);
		piece.ajouterPerso(perso);

		perso = new Personnage("poubelle", "poubelle RDC", 9, 14,
				R.drawable.interaction, "Message", 5);
		piece.ajouterPerso(perso);

		perso = new Personnage("poubelle", "poubelle RDC", 20, 6,
				R.drawable.interaction, "Message", 5);
		piece.ajouterPerso(perso);

		perso = new Personnage("extincteur", "simple extincteur", 18, 6,
				R.drawable.interaction, "Message", 14);
		piece.ajouterPerso(perso);

		// --- PERSONNAGE(S) ENIGME ---
		perso = new Personnage("Jean", "Etudiant a L'IUT", 17, 8,
				R.drawable.jean, "Enigme", 2);
		piece.ajouterPerso(perso);

		// --- PERSONNAGE(S) RECHERCHE ---

		perso = new Personnage("Mr.Domas", "Prof de poo", 6, 10,
				R.drawable.berthe, "Recherche", 4);
		piece.ajouterPerso(perso);

		perso = new Personnage("Inconnu", "inconnu", 20, 10, R.drawable.fille,
				"Recherche", 1);
		piece.ajouterPerso(perso);

		// --- PORTE(S) CODE ---
		perso = new Personnage("PorteSauvegarde", "code secret", 7, 6,
				R.drawable.interaction, "Code", 1);
		piece.ajouterPerso(perso);

		// OBJET
		/*
		 * On ajoute un nouvel objet dans le couloir, avec son nom, son type, la
		 * description de l'objet, l'image png, ses coordonnees X et Y et son
		 * poids
		 */
		obj = new Objet("bout de papier", "Autre", "il est écrit Code:257621",
				R.drawable.boutpapier, 12, 12, 1);
		piece.ajouterObjet(obj);

		// --- SORTIE(S) ---
		/*
		 * on ajoute des sorties au couloir, on peut ainsi passer du couloir à
		 * une autre salle. avec en premier le numero de sortie, la position X
		 * et Y de la sortie, ensuite le numero de la piece suivante et le
		 * position X et Y ou le personnage apparaitra.
		 */
		s = new Sortie(0, 3, 6, 1, 17, 16); // Salle sauvegarde
		piece.ajouterSortie(s);

		s = new Sortie(1, 7, 6, 2, 19, 17); // Salle profs
		piece.ajouterSortie(s);

		s = new Sortie(2, 12, 6, 3, 18, 16); // secretariat
		piece.ajouterSortie(s);

		s = new Sortie(3, 17, 6, 4, 19, 17); // Salle ABII
		piece.ajouterSortie(s);

		s = new Sortie(8, 3, 14, 5, 23, 3); // Salle DEC
		piece.ajouterSortie(s);

		s = new Sortie(9, 10, 14, 6, 23, 3); // Salle ALPHA
		piece.ajouterSortie(s);

		s = new Sortie(4, 23, 2, 9, 1, 16); // Salle couloir 2
		piece.ajouterSortie(s);

		// pour finir on ajoute la piece
		id.add(piece);

		/*******************************************************
		 * SALLE SAUVEGARDE *
		 *******************************************************/

		int[][] obstacle_piece_3 = new int[][] {
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 }, };

		piece = new Piece(1, "SALLE DE SAUVEGARDE",
				"Salle qui permet de sauvegarder", obstacle_piece_3,
				R.drawable.save, R.raw.caverne, true);

		perso = new Personnage("question", "question", 10, 3,
				R.drawable.interaction, "Message", 21);
		piece.ajouterPerso(perso);

		perso = new Personnage("momo", "etudiant", 18, 8,
				R.drawable.momo_perso, "Message", 44);
		piece.ajouterPerso(perso);

		perso = new Personnage("question", "question", 11, 3,
				R.drawable.interaction, "Message", 21);
		piece.ajouterPerso(perso);

		perso = new Personnage("question", "question", 12, 3,
				R.drawable.interaction, "Message", 21);
		piece.ajouterPerso(perso);

		perso = new Personnage("question", "question", 13, 3,
				R.drawable.interaction, "Message", 21);
		piece.ajouterPerso(perso);

		perso = new Personnage("question", "question", 14, 3,
				R.drawable.interaction, "Message", 21);
		piece.ajouterPerso(perso);

		perso = new Personnage("question", "question", 15, 3,
				R.drawable.interaction, "Message", 21);
		piece.ajouterPerso(perso);

		perso = new Personnage("question", "question", 16, 3,
				R.drawable.interaction, "Message", 35);
		piece.ajouterPerso(perso);

		perso = new Personnage("question", "question", 17, 3,
				R.drawable.interaction, "Message", 33);
		piece.ajouterPerso(perso);

		perso = new Personnage("question", "question", 18, 3,
				R.drawable.interaction, "Message", 33);
		piece.ajouterPerso(perso);

		perso = new Personnage("question", "question", 19, 3,
				R.drawable.interaction, "Message", 33);
		piece.ajouterPerso(perso);

		perso = new Personnage("question", "question", 20, 3,
				R.drawable.interaction, "Message", 33);
		piece.ajouterPerso(perso);

		perso = new Personnage("coffre_vide", "coffre_vide", 20, 6,
				R.drawable.interaction, "Message", 34);
		piece.ajouterPerso(perso);

		perso = new Personnage("coffre_vide", "coffre_vide", 19, 6,
				R.drawable.interaction, "Message", 34);
		piece.ajouterPerso(perso);

		perso = new Personnage("chantier", "chantier", 11, 10,
				R.drawable.interaction, "Message", 20);
		piece.ajouterPerso(perso);

		perso = new Personnage("chantier", "chantier", 12, 10,
				R.drawable.interaction, "Message", 20);
		piece.ajouterPerso(perso);

		perso = new Personnage("chimie", "question", 5, 5,
				R.drawable.interaction, "Message", 39);
		piece.ajouterPerso(perso);

		perso = new Personnage("chimie", "question", 7, 5,
				R.drawable.interaction, "Message", 39);
		piece.ajouterPerso(perso);
		// --- OBJET(S) ---

		obj = new Objet("gta4", "divers",
				"pour jouer, tres utile lors d'une LAN", R.drawable.gta4, 18,
				5, 5);
		piece.ajouterObjet(obj);

		// --- SORTIE(S) ---
		s = new Sortie(7, 17, 17, 0, 3, 7);
		piece.ajouterSortie(s);
		s = new Sortie(7, 16, 17, 0, 3, 7);
		piece.ajouterSortie(s);

		id.add(piece);

		int[][] salle_profs = new int[][] {
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 }, };

		piece = new Piece(2, "SALLE DES PROFS",
				"Salle des professeurs (acces restreint)", salle_profs,
				R.drawable.salleprof, R.raw.darkmountain2, true);

		perso = new Personnage("Mr millet", "prof", 10, 12, R.drawable.millet,
				"Enigme", 10);
		piece.ajouterPerso(perso);

		perso = new Personnage("travailler", "canape", 5, 5,
				R.drawable.interaction, "Message", 15);
		piece.ajouterPerso(perso);

		perso = new Personnage("travailler", "canape", 6, 5,
				R.drawable.interaction, "Message", 15);
		piece.ajouterPerso(perso);

		perso = new Personnage("travailler", "canape", 7, 5,
				R.drawable.interaction, "Message", 15);
		piece.ajouterPerso(perso);

		perso = new Personnage("laurent", "etudiant", 7, 14,
				R.drawable.laurent_perso, "Message", 49);
		piece.ajouterPerso(perso);

		// --- OBJET(S) ---

		// --- SORTIE(S) ---
		s = new Sortie(9, 19, 18, 0, 7, 7);
		piece.ajouterSortie(s);
		s = new Sortie(9, 18, 18, 0, 7, 7);
		piece.ajouterSortie(s);

		id.add(piece);

		int[][] secretariat = new int[][] {
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 }, };

		piece = new Piece(3, "SECRETARIAT", "Secrétariat du batiment info",
				secretariat, R.drawable.secretariat, R.raw.grotte, true);

		perso = new Personnage("annonce", "notes", 12, 6,
				R.drawable.interaction, "Message", 27);
		piece.ajouterPerso(perso);

		perso = new Personnage("annonce", "notes", 13, 6,
				R.drawable.interaction, "Message", 27);
		piece.ajouterPerso(perso);

		perso = new Personnage("secretaire", "secretaire", 10, 12,
				R.drawable.monzon, "Enigme", 16);
		piece.ajouterPerso(perso);

		perso = new Personnage("travailler", "canape", 6, 11,
				R.drawable.interaction, "Message", 15);
		piece.ajouterPerso(perso);

		perso = new Personnage("momo", "etudiant", 18, 9,
				R.drawable.momo_perso, "Message", 40);
		piece.ajouterPerso(perso);

		// --- OBJET(S) ---
		obj = new Objet("sucre", "divers", "pour faire du café",
				R.drawable.sucre, 10, 10, 5);
		piece.ajouterObjet(obj);

		// --- SORTIE(S) ---
		s = new Sortie(9, 18, 17, 0, 12, 7);
		piece.ajouterSortie(s);
		s = new Sortie(9, 17, 17, 0, 12, 7);
		piece.ajouterSortie(s);

		id.add(piece);

		/*******************************************************
		 * SALLE ABII *
		 *******************************************************/

		int[][] obstacle_piece_2 = new int[][] {
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 }, };

		piece = new Piece(4, "ABII", "petite salle des étudiants",
				obstacle_piece_2, R.drawable.abii, R.raw.legende_2, true);

		// --- PERSONNAGE(S) ---
		perso = new Personnage("momo", "etudiant", 4, 5, R.drawable.momo_perso,
				"Message", 43);
		piece.ajouterPerso(perso);

		perso = new Personnage("travailler", "canape", 7, 5,
				R.drawable.interaction, "Message", 15);
		piece.ajouterPerso(perso);

		perso = new Personnage("travailler", "canape", 8, 5,
				R.drawable.interaction, "Message", 15);
		piece.ajouterPerso(perso);

		perso = new Personnage("travailler", "canape", 9, 5,
				R.drawable.interaction, "Message", 15);
		piece.ajouterPerso(perso);

		perso = new Personnage("enceinte", "enceinte", 11, 5,
				R.drawable.interaction, "Message", 16);
		piece.ajouterPerso(perso);

		perso = new Personnage("jack", "jack", 14, 10, R.drawable.interaction,
				"Message", 17);
		piece.ajouterPerso(perso);

		perso = new Personnage("jack", "jack", 15, 10, R.drawable.interaction,
				"Message", 17);
		piece.ajouterPerso(perso);

		perso = new Personnage("jack", "jack", 16, 10, R.drawable.interaction,
				"Message", 17);
		piece.ajouterPerso(perso);

		perso = new Personnage("armoire", "armoire", 19, 6,
				R.drawable.interaction, "Message", 18);
		piece.ajouterPerso(perso);

		perso = new Personnage("bureau", "bureau", 5, 15,
				R.drawable.interaction, "Message", 19);
		piece.ajouterPerso(perso);

		perso = new Personnage("bureau", "bureau", 6, 15,
				R.drawable.interaction, "Message", 19);
		piece.ajouterPerso(perso);

		perso = new Personnage("bureau", "bureau", 5, 14,
				R.drawable.interaction, "Message", 19);
		piece.ajouterPerso(perso);

		perso = new Personnage("bureau", "bureau", 6, 14,
				R.drawable.interaction, "Message", 19);
		piece.ajouterPerso(perso);

		perso = new Personnage("bureau", "bureau", 5, 13,
				R.drawable.interaction, "Message", 19);
		piece.ajouterPerso(perso);

		perso = new Personnage("bureau", "bureau", 6, 13,
				R.drawable.interaction, "Message", 19);
		piece.ajouterPerso(perso);

		// --- OBJET(S) ---
		obj = new Objet("note", "important", "pourquoi j'ai écrit mon nom ?",
				R.drawable.note, 20, 5, 5);
		piece.ajouterObjet(obj);

		obj = new Objet("RedBull", "vitesse",
				"pour aller moins vite poser ce red bull par terre",
				R.drawable.red_bull, 4, 16, 5);
		piece.ajouterObjet(obj);

		// --- SORTIE(S) ---
		s = new Sortie(4, 19, 18, 0, 17, 7);
		piece.ajouterSortie(s);
		s = new Sortie(4, 18, 18, 0, 17, 7);
		piece.ajouterSortie(s);

		id.add(piece);

		/*******************************************************
		 * SALLE DEC *
		 *******************************************************/
		int[][] salle_dec = new int[][] {
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 1, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 1, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 }, };

		piece = new Piece(5, "Salle DEC", "DEC", salle_dec, R.drawable.dec,
				R.raw.mini_jeu_2, true);

		// --- PERSONNAGE(S) ---

		obj = new Objet("airwaves", "divers",
				"chewing-gum (sans faire de pub)", R.drawable.airwaves, 10, 15,
				5);
		piece.ajouterObjet(obj);

		obj = new Objet("batte", "divers", "c'est pour se défendre",
				R.drawable.batte, 23, 18, 5);
		piece.ajouterObjet(obj);

		obj = new Objet("ballon", "divers", "c'est pour jouer au foot",
				R.drawable.ballon, 10, 5, 5);
		piece.ajouterObjet(obj);

		perso = new Personnage("extincteur", "simple extincteur", 2, 2,
				R.drawable.interaction, "Message", 14);
		piece.ajouterPerso(perso);

		perso = new Personnage("guillaume", "etudiant", 15, 8,
				R.drawable.guillaume_perso, "Message", 46);
		piece.ajouterPerso(perso);

		perso = new Personnage("Mr Couturier", "prof", 1, 17,
				R.drawable.millet, "Recherche", 9);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 17, 14,
				R.drawable.interaction, "Message", 30);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 21, 14,
				R.drawable.interaction, "Message", 4);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 3, 14,
				R.drawable.interaction, "Message", 13);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 8, 14,
				R.drawable.interaction, "Message", 29);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 16, 10,
				R.drawable.interaction, "Message", 9);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 22, 10,
				R.drawable.interaction, "Message", 37);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 2, 10,
				R.drawable.interaction, "Message", 36);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 8, 10,
				R.drawable.interaction, "Message", 32);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 17, 6,
				R.drawable.interaction, "Message", 6);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 21, 6,
				R.drawable.interaction, "Message", 8);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 3, 6,
				R.drawable.interaction, "Message", 7);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 7, 6,
				R.drawable.interaction, "Message", 10);
		piece.ajouterPerso(perso);

		perso = new Personnage("poubelle", "poubelle", 20, 2,
				R.drawable.interaction, "Message", 5);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 3, 2,
				R.drawable.interaction, "Message", 25);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 4, 2,
				R.drawable.interaction, "Message", 25);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 5, 2,
				R.drawable.interaction, "Message", 25);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 6, 2,
				R.drawable.interaction, "Message", 25);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 7, 2,
				R.drawable.interaction, "Message", 25);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 15, 2,
				R.drawable.interaction, "Message", 22);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 16, 2,
				R.drawable.interaction, "Message", 22);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 17, 2,
				R.drawable.interaction, "Message", 22);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 18, 2,
				R.drawable.interaction, "Message", 22);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 19, 2,
				R.drawable.interaction, "Message", 22);
		piece.ajouterPerso(perso);

		// --- OBJET(S) ---
		obj = new Objet("Sac", "Esthetique", "Objet ne servant a rien",
				R.drawable.item01, 8, 11, 5);
		piece.ajouterObjet(obj);

		// --- SORTIE(S) ---
		s = new Sortie(2, 23, 2, 0, 3, 13);
		piece.ajouterSortie(s);

		id.add(piece);

		/*******************************************************
		 * SALLE ALPHA *
		 *******************************************************/
		int[][] salle_alpha = new int[][] {
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 1, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 1, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 }, };

		piece = new Piece(6, "Salle ALPHA", "Salle ALPHA", salle_alpha,
				R.drawable.alpha, R.raw.darkmountain2, true);

		// --- PERSONNAGE(S) ---

		perso = new Personnage("extincteur", "simple extincteur", 2, 2,
				R.drawable.interaction, "Message", 14);
		piece.ajouterPerso(perso);

		perso = new Personnage("jose", "etudiant", 17, 4,
				R.drawable.jose_perso, "Message", 46);
		piece.ajouterPerso(perso);

		perso = new Personnage("poubelle", "poubelle", 20, 2,
				R.drawable.interaction, "Message", 5);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 17, 14,
				R.drawable.interaction, "Message", 30);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 21, 14,
				R.drawable.interaction, "Message", 4);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 3, 14,
				R.drawable.interaction, "Message", 28);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 8, 14,
				R.drawable.interaction, "Message", 29);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 16, 10,
				R.drawable.interaction, "Message", 11);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 22, 10,
				R.drawable.interaction, "Message", 37);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 2, 10,
				R.drawable.interaction, "Message", 36);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 8, 10,
				R.drawable.interaction, "Message", 38);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 17, 6,
				R.drawable.interaction, "Message", 6);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 21, 6,
				R.drawable.interaction, "Message", 31);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 3, 6,
				R.drawable.interaction, "Message", 7);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 7, 6,
				R.drawable.interaction, "Message", 38);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 4, 2,
				R.drawable.interaction, "Message", 26);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 5, 2,
				R.drawable.interaction, "Message", 26);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 6, 2,
				R.drawable.interaction, "Message", 26);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 7, 2,
				R.drawable.interaction, "Message", 26);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 15, 2,
				R.drawable.interaction, "Message", 24);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 16, 2,
				R.drawable.interaction, "Message", 24);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 17, 2,
				R.drawable.interaction, "Message", 24);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 18, 2,
				R.drawable.interaction, "Message", 24);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 19, 2,
				R.drawable.interaction, "Message", 24);
		piece.ajouterPerso(perso);
		// --- OBJET(S) ---
		obj = new Objet("psp", "jeu", "mais c'est la psp de momo",
				R.drawable.psp, 6, 17, 5);
		piece.ajouterObjet(obj);

		obj = new Objet("portable", "divers", "c'est un des ordi de momo",
				R.drawable.portable, 8, 15, 5);
		piece.ajouterObjet(obj);

		obj = new Objet("mobil", "divers", "telephone de dernière génération",
				R.drawable.mobil, 15, 17, 5);
		piece.ajouterObjet(obj);

		// --- SORTIE(S) ---
		s = new Sortie(2, 23, 2, 0, 10, 13);
		piece.ajouterSortie(s);

		id.add(piece);

		/*******************************************************
		 * Piece num7 *
		 *******************************************************/
		piece = new Piece(9, "COULOIR 1ER ETAGE", "couloir du 1ere etage",
				salle_alpha, R.drawable.couloir_2, R.raw.montagnes, true);

		id.add(piece);

		/*******************************************************
		 * Piece num8 *
		 *******************************************************/
		piece = new Piece(9, "COULOIR 1ER ETAGE", "couloir du 1ere etage",
				salle_alpha, R.drawable.couloir_2, R.raw.montagnes, true);

		id.add(piece);

	}

	public void deuxiemeEtage() {

		/*******************************************************
		 * COULOIR 1 *
		 *******************************************************/

		int[][] couloir_1 = new int[][] {
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 0, 1 },
				{ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0,
						1, 1, 1, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 }, };

		piece = new Piece(9, "COULOIR 1ER ETAGE", "couloir du 1ere etage",
				couloir_1, R.drawable.couloir_1, R.raw.out_of_this_club, true);

		// --- PERSONNAGE(S) ---

		perso = new Personnage("mo90mo", "Etudiant a L'IUT", 15, 10,
				R.drawable.momo_perso, "Enigme", 8);
		piece.ajouterPerso(perso);

		perso = new Personnage("jose", "etudiant", 4, 10,
				R.drawable.jose_perso, "Message", 45);
		piece.ajouterPerso(perso);

		perso = new Personnage("etudiant", "Etudiant", 21, 7,
				R.drawable.etudiant, "Recherche", 6);
		piece.ajouterPerso(perso);

		perso = new Personnage("poubelle", "poubelle", 1, 6,
				R.drawable.interaction, "Message", 5);
		piece.ajouterPerso(perso);

		perso = new Personnage("poubelle", "poubelle", 9, 14,
				R.drawable.interaction, "Message", 50);
		piece.ajouterPerso(perso);

		perso = new Personnage("poubelle", "poubelle", 20, 6,
				R.drawable.interaction, "Message", 5);
		piece.ajouterPerso(perso);

		perso = new Personnage("extincteur", "simple extincteur", 18, 6,
				R.drawable.interaction, "Message", 14);
		piece.ajouterPerso(perso);

		perso = new Personnage("PorteSauvegarde", "code secret", 3, 14,
				R.drawable.interaction, "Code", 3);
		piece.ajouterPerso(perso);

		// --- OBJET(S) ---
		obj = new Objet("Sac2", "Esthetique", "Objet ne servant a rien",
				R.drawable.item01, 8, 12, 5);
		piece.ajouterObjet(obj);

		// --- SORTIE(S) ---
		s = new Sortie(2, 1, 17, 0, 23, 3); // Couloir RDC
		piece.ajouterSortie(s);

		s = new Sortie(4, 23, 2, 18, 1, 16); // Salle couloir 2
		piece.ajouterSortie(s);

		s = new Sortie(4, 2, 6, 10, 17, 15); // Salle wc 1
		piece.ajouterSortie(s);

		s = new Sortie(4, 19, 6, 13, 17, 15); // Salle de menage
		piece.ajouterSortie(s);

		s = new Sortie(4, 3, 14, 14, 23, 3); // salle 101
		piece.ajouterSortie(s);

		s = new Sortie(4, 10, 14, 15, 23, 3); // salle 104
		piece.ajouterSortie(s);

		s = new Sortie(4, 15, 14, 16, 23, 3); // salle 102
		piece.ajouterSortie(s);

		id.add(piece);

		/*******************************************************
		 * wc 1 *
		 *******************************************************/
		int[][] wc_1 = new int[][] {
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 }, };

		piece = new Piece(10, "Toilette", "Toilette", wc_1, R.drawable.wc_1,
				R.raw.legende_2, true);

		// --- PERSONNAGE(S) ---
		perso = new Personnage("Eleve", "etudiant", 10, 10, R.drawable.eleve,
				"Recherche", 3);
		piece.ajouterPerso(perso);

		obj = new Objet("chapeau", "important",
				"Chapeau porté par une seule personne", R.drawable.chapeau, 13,
				8, 5);
		piece.ajouterObjet(obj);

		// --- OBJET(S) ---

		obj = new Objet("kitkat", "nourriture", "il a l'air très apétissant",
				R.drawable.kitkat, 13, 13, 5);
		piece.ajouterObjet(obj);

		obj = new Objet("stylo", "cours", "très beau stylo!!!",
				R.drawable.stylo, 7, 13, 5);
		piece.ajouterObjet(obj);

		// --- SORTIE(S) ---
		s = new Sortie(4, 16, 16, 9, 2, 7);
		piece.ajouterSortie(s);

		s = new Sortie(4, 17, 16, 9, 2, 7);
		piece.ajouterSortie(s);

		id.add(piece);

		/*******************************************************
		 * Piece num11 *
		 *******************************************************/
		piece = new Piece(9, "COULOIR 1ER ETAGE", "couloir du 1ere etage",
				couloir_1, R.drawable.couloir_2, R.raw.montagnes, true);

		id.add(piece);

		/*******************************************************
		 * Piece num12 *
		 *******************************************************/
		piece = new Piece(9, "COULOIR 1ER ETAGE", "couloir du 1ere etage",
				couloir_1, R.drawable.couloir_2, R.raw.montagnes, true);

		id.add(piece);

		/*******************************************************
		 * salle de menage *
		 *******************************************************/
		int[][] salle_menage = new int[][] {
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 }, };

		piece = new Piece(13, "SALLE DE MENAGE",
				"Salle appartenant au femme de ménage", salle_menage,
				R.drawable.salle_menage, R.raw.legende_2, true);

		// --- PERSONNAGE(S) ---

		perso = new Personnage("inconnu", "inconnu", 16, 9, R.drawable.inconnu,
				"Recherche", 8);
		piece.ajouterPerso(perso);

		// --- OBJET(S) ---
		obj = new Objet("cadeau", "divers", "pour offrir à un prof",
				R.drawable.cadeau, 9, 9, 5);
		piece.ajouterObjet(obj);

		// --- SORTIE(S) ---
		s = new Sortie(4, 16, 16, 9, 19, 7);
		piece.ajouterSortie(s);

		s = new Sortie(4, 17, 16, 9, 19, 7);
		piece.ajouterSortie(s);

		id.add(piece);

		/*******************************************************
		 * SALLE 101 *
		 *******************************************************/
		int[][] salle_101 = new int[][] {
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 1, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 1, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 }, };

		piece = new Piece(14, "Salle 101", "Salle de TP", salle_101,
				R.drawable.salle_101, R.raw.mini_jeu_2, true);

		// --- PERSONNAGE(S) ---

		perso = new Personnage("extincteur", "simple extincteur", 2, 2,
				R.drawable.interaction, "Message", 14);
		piece.ajouterPerso(perso);

		perso = new Personnage("Mr laymani", "prof", 12, 10,
				R.drawable.laymani, "Enigme", 13);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 17, 14,
				R.drawable.interaction, "Message", 30);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 21, 14,
				R.drawable.interaction, "Message", 4);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 3, 14,
				R.drawable.interaction, "Message", 28);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 8, 14,
				R.drawable.interaction, "Message", 29);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 16, 10,
				R.drawable.interaction, "Message", 9);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 22, 10,
				R.drawable.interaction, "Message", 37);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 2, 10,
				R.drawable.interaction, "Message", 36);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 8, 10,
				R.drawable.interaction, "Message", 32);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 17, 6,
				R.drawable.interaction, "Message", 6);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 21, 6,
				R.drawable.interaction, "Message", 8);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 3, 6,
				R.drawable.interaction, "Message", 7);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 7, 6,
				R.drawable.interaction, "Message", 10);
		piece.ajouterPerso(perso);

		perso = new Personnage("poubelle", "poubelle", 20, 2,
				R.drawable.interaction, "Message", 5);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 8, 2,
				R.drawable.interaction, "Message", 25);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 9, 2,
				R.drawable.interaction, "Message", 25);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 10, 2,
				R.drawable.interaction, "Message", 25);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 11, 2,
				R.drawable.interaction, "Message", 25);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 12, 2,
				R.drawable.interaction, "Message", 25);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 13, 2,
				R.drawable.interaction, "Message", 25);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 14, 2,
				R.drawable.interaction, "Message", 25);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 15, 2,
				R.drawable.interaction, "Message", 25);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 16, 2,
				R.drawable.interaction, "Message", 25);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 17, 2,
				R.drawable.interaction, "Message", 25);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 18, 2,
				R.drawable.interaction, "Message", 25);
		piece.ajouterPerso(perso);

		// --- OBJET(S) ---
		obj = new Objet("diamant", "divers", "il doit couter cher",
				R.drawable.diamant, 9, 11, 5);
		piece.ajouterObjet(obj);

		obj = new Objet("kitkat", "nourriture", "il a l'air très apétissant",
				R.drawable.kitkat, 3, 17, 5);
		piece.ajouterObjet(obj);

		obj = new Objet("cle", "divers", "tiens quelqu'un a perdu ses clés",
				R.drawable.cle, 20, 18, 5);
		piece.ajouterObjet(obj);

		// --- SORTIE(S) ---
		s = new Sortie(2, 23, 2, 9, 3, 13);
		piece.ajouterSortie(s);

		id.add(piece);

		/*******************************************************
		 * SALLE 104 *
		 *******************************************************/
		int[][] salle_104 = new int[][] {
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 1, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 1, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 }, };

		piece = new Piece(15, "Salle 104", "Salle de TP", salle_104,
				R.drawable.salle_104, R.raw.mini_jeu_2, true);

		// --- PERSONNAGE(S) ---

		perso = new Personnage("Mr médard", "secretaire", 12, 10,
				R.drawable.medard, "Enigme", 18);
		piece.ajouterPerso(perso);

		perso = new Personnage("extincteur", "simple extincteur", 2, 2,
				R.drawable.interaction, "Message", 14);
		piece.ajouterPerso(perso);

		perso = new Personnage("momo", "etudiant", 3, 4, R.drawable.momo_perso,
				"Message", 43);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 17, 14,
				R.drawable.interaction, "Message", 30);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 21, 14,
				R.drawable.interaction, "Message", 4);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 3, 14,
				R.drawable.interaction, "Message", 28);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 8, 14,
				R.drawable.interaction, "Message", 29);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 16, 10,
				R.drawable.interaction, "Message", 9);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 22, 10,
				R.drawable.interaction, "Message", 37);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 2, 10,
				R.drawable.interaction, "Message", 36);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 8, 10,
				R.drawable.interaction, "Message", 32);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 17, 6,
				R.drawable.interaction, "Message", 6);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 21, 6,
				R.drawable.interaction, "Message", 8);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 3, 6,
				R.drawable.interaction, "Message", 7);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 7, 6,
				R.drawable.interaction, "Message", 10);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 8, 2,
				R.drawable.interaction, "Message", 23);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 9, 2,
				R.drawable.interaction, "Message", 23);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 10, 2,
				R.drawable.interaction, "Message", 23);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 11, 2,
				R.drawable.interaction, "Message", 23);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 12, 2,
				R.drawable.interaction, "Message", 23);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 13, 2,
				R.drawable.interaction, "Message", 23);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 14, 2,
				R.drawable.interaction, "Message", 23);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 15, 2,
				R.drawable.interaction, "Message", 23);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 16, 2,
				R.drawable.interaction, "Message", 23);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 17, 2,
				R.drawable.interaction, "Message", 23);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 18, 2,
				R.drawable.interaction, "Message", 23);
		piece.ajouterPerso(perso);

		// --- OBJET(S) ---

		obj = new Objet("500euros", "important",
				"Que peut-on faire avec 500 euros?", R.drawable.euros_500, 12,
				17, 5);
		piece.ajouterObjet(obj);

		obj = new Objet("canette", "nourriture",
				"pour boire, tiens elle est vide!!", R.drawable.canette, 4, 11,
				5);
		piece.ajouterObjet(obj);

		obj = new Objet("batte", "jeu", "pour se défendre", R.drawable.batte,
				3, 17, 5);
		piece.ajouterObjet(obj);

		obj = new Objet("cle", "divers",
				"on voit bien qu'elle ne sert à rien, elle est trop vieille",
				R.drawable.cle, 20, 17, 5);
		piece.ajouterObjet(obj);

		// --- SORTIE(S) ---
		s = new Sortie(2, 23, 2, 9, 10, 13);
		piece.ajouterSortie(s);

		id.add(piece);

		/*******************************************************
		 * SALLE 102 *
		 *******************************************************/
		int[][] salle_102 = new int[][] {
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 1, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 1, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 1, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 }, };

		piece = new Piece(16, "Salle 102", "Salle de TP", salle_102,
				R.drawable.salle_102, R.raw.mini_jeu_2, true);

		// --- PERSONNAGE(S) ---
		perso = new Personnage("José", "etudiant", 12, 10,
				R.drawable.jose_perso, "Enigme", 17);
		piece.ajouterPerso(perso);

		perso = new Personnage("Vincent", "etudiant", 2, 3,
				R.drawable.vincent_perso, "Recherche", 0);
		piece.ajouterPerso(perso);

		perso = new Personnage("momo", "etudiant", 23, 18,
				R.drawable.momo_perso, "Message", 44);
		piece.ajouterPerso(perso);

		perso = new Personnage("extincteur", "simple extincteur", 2, 2,
				R.drawable.interaction, "Message", 14);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 17, 14,
				R.drawable.interaction, "Message", 30);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 21, 14,
				R.drawable.interaction, "Message", 4);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 3, 14,
				R.drawable.interaction, "Message", 28);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 8, 14,
				R.drawable.interaction, "Message", 29);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 16, 10,
				R.drawable.interaction, "Message", 9);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 22, 10,
				R.drawable.interaction, "Message", 37);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 2, 10,
				R.drawable.interaction, "Message", 36);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 8, 10,
				R.drawable.interaction, "Message", 32);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 17, 6,
				R.drawable.interaction, "Message", 6);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 21, 6,
				R.drawable.interaction, "Message", 8);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 3, 6,
				R.drawable.interaction, "Message", 7);
		piece.ajouterPerso(perso);

		perso = new Personnage("ordi", "ecran d'ordi", 7, 6,
				R.drawable.interaction, "Message", 10);
		piece.ajouterPerso(perso);

		perso = new Personnage("poubelle", "poubelle", 20, 2,
				R.drawable.interaction, "Message", 5);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 3, 2,
				R.drawable.interaction, "Message", 26);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 4, 2,
				R.drawable.interaction, "Message", 26);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 5, 2,
				R.drawable.interaction, "Message", 26);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 6, 2,
				R.drawable.interaction, "Message", 26);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 7, 2,
				R.drawable.interaction, "Message", 26);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 15, 2,
				R.drawable.interaction, "Message", 27);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 16, 2,
				R.drawable.interaction, "Message", 27);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 17, 2,
				R.drawable.interaction, "Message", 27);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 18, 2,
				R.drawable.interaction, "Message", 27);
		piece.ajouterPerso(perso);

		perso = new Personnage("tableau", "tableau", 19, 2,
				R.drawable.interaction, "Message", 27);
		piece.ajouterPerso(perso);

		// --- OBJET(S) ---
		obj = new Objet("mobil", "divers", "telephone de dernière génération",
				R.drawable.kitkat, 9, 11, 5);
		piece.ajouterObjet(obj);

		obj = new Objet("ballon", "divers", "c'est pour jouer au foot",
				R.drawable.ballon, 3, 17, 5);
		piece.ajouterObjet(obj);

		// --- SORTIE(S) ---
		s = new Sortie(2, 23, 2, 9, 15, 13);
		piece.ajouterSortie(s);

		id.add(piece);

		/*******************************************************
		 * Piece num17 *
		 *******************************************************/
		piece = new Piece(9, "COULOIR 1ER ETAGE", "couloir du 1ere etage",
				couloir_1, R.drawable.couloir_2, R.raw.montagnes, true);

		id.add(piece);

	}

	public void troisiemeEtage() {

		/*******************************************************
		 * COULOIR 2 *
		 *******************************************************/

		int[][] couloir_2 = new int[][] {
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 }, };

		piece = new Piece(18, "COULOIR 2EME ETAGE", "couloir du 2eme etage",
				couloir_2, R.drawable.couloir_2, R.raw.out_of_this_club, true);

		// --- PERSONNAGE(S) ---
		perso = new Personnage("Laurent", "etudiant", 12, 10,
				R.drawable.laurent_perso, "Enigme", 15);
		piece.ajouterPerso(perso);

		perso = new Personnage("Florian", "etudiant", 4, 8, R.drawable.millet,
				"Recherche", 5);
		piece.ajouterPerso(perso);

		perso = new Personnage("poubelle", "poubelle", 1, 6,
				R.drawable.interaction, "Message", 5);
		piece.ajouterPerso(perso);

		perso = new Personnage("poubelle", "poubelle", 9, 14,
				R.drawable.interaction, "Message", 5);
		piece.ajouterPerso(perso);

		perso = new Personnage("poubelle", "poubelle", 20, 6,
				R.drawable.interaction, "Message", 5);
		piece.ajouterPerso(perso);

		perso = new Personnage("extincteur", "simple extincteur", 18, 6,
				R.drawable.interaction, "Message", 14);
		piece.ajouterPerso(perso);

		perso = new Personnage("PorteSauvegarde", "code secret", 12, 6,
				R.drawable.interaction, "Code", 0);
		piece.ajouterPerso(perso);

		// --- OBJET(S) ---
		obj = new Objet("kitkat", "nourriture", "il a l'air très apétissant",
				R.drawable.kitkat, 10, 10, 5);
		piece.ajouterObjet(obj);

		// --- SORTIE(S) ---
		s = new Sortie(2, 1, 17, 9, 23, 3); // Couloir 1
		piece.ajouterSortie(s);

		s = new Sortie(9, 10, 14, 24, 2, 4); // Salle TD2
		piece.ajouterSortie(s);

		s = new Sortie(9, 15, 14, 25, 22, 4); // Salle TD
		piece.ajouterSortie(s);

		s = new Sortie(4, 3, 6, 19, 17, 15); // wc 2
		piece.ajouterSortie(s);

		s = new Sortie(4, 7, 6, 20, 18, 16); // salle d'anglais
		piece.ajouterSortie(s);

		s = new Sortie(4, 12, 6, 21, 18, 16); // salle d'anglais
		piece.ajouterSortie(s);

		s = new Sortie(4, 3, 14, 23, 23, 3); // salle 209
		piece.ajouterSortie(s);

		id.add(piece);

		/*******************************************************
		 * wc 2 *
		 *******************************************************/

		int[][] wc_2 = new int[][] {
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 }, };

		piece = new Piece(19, "Toilette 2", "Toilette 2", wc_2,
				R.drawable.wc_2, R.raw.legende_2, true);

		// --- PERSONNAGE(S) ---

		// --- OBJET(S) ---
		obj = new Objet("2euros", "important",
				"Que peut-on faire avec 2 euros?", R.drawable.euros_2, 6, 14, 5);
		piece.ajouterObjet(obj);

		obj = new Objet("stylo", "cours", "très beau stylo!!!",
				R.drawable.stylo, 10, 10, 5);
		piece.ajouterObjet(obj);

		// --- SORTIE(S) ---
		s = new Sortie(4, 16, 16, 18, 3, 7);
		piece.ajouterSortie(s);

		s = new Sortie(4, 17, 16, 18, 3, 7);
		piece.ajouterSortie(s);

		id.add(piece);

		/*******************************************************
		 * salle d'anglais *
		 *******************************************************/

		int[][] salle_anglais = new int[][] {
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 }, };

		piece = new Piece(20, "SALLE D'ANGLAIS", "Salle d'anglais",
				salle_anglais, R.drawable.anglais, R.raw.legende_2, true);

		// --- PERSONNAGE(S) ---

		perso = new Personnage("monzon", "Prof a L'IUT", 13, 8,
				R.drawable.monzon, "Enigme", 14);
		piece.ajouterPerso(perso);

		perso = new Personnage("Eleve", "etudiant", 5, 13, R.drawable.eleve,
				"Recherche", 2);
		piece.ajouterPerso(perso);

		// --- OBJET(S) ---

		obj = new Objet("cle", "divers", "tiens quelqu'un a perdu ses clés",
				R.drawable.cle, 13, 12, 5);
		piece.ajouterObjet(obj);

		obj = new Objet("kitkat", "nourriture", "il a l'air très apétissant",
				R.drawable.kitkat, 15, 12, 5);
		piece.ajouterObjet(obj);

		// --- SORTIE(S) ---
		s = new Sortie(4, 17, 17, 18, 7, 7);
		piece.ajouterSortie(s);

		s = new Sortie(4, 18, 17, 18, 7, 7);
		piece.ajouterSortie(s);

		id.add(piece);

		/*******************************************************
		 * salle d'anglais *
		 *******************************************************/

		int[][] salle_expression = new int[][] {
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 }, };

		piece = new Piece(21, "SALLE D'EXPRESSION", "Salle d'expression",
				salle_expression, R.drawable.expression, R.raw.legende_2, true);

		// --- PERSONNAGE(S) ---
		perso = new Personnage("Mr sinot", "prof", 12, 10, R.drawable.sinot,
				"Enigme", 11);
		piece.ajouterPerso(perso);

		// --- OBJET(S) ---
		obj = new Objet("carte", "jeu", "mais c'est le jeu de l'ABII",
				R.drawable.carte, 6, 11, 5);
		piece.ajouterObjet(obj);

		obj = new Objet("mobil", "divers", "telephone de dernière génération",
				R.drawable.kitkat, 13, 12, 5);
		piece.ajouterObjet(obj);

		obj = new Objet("airwaves", "divers",
				"chewing-gum (sans faire de pub)", R.drawable.airwaves, 15, 12,
				5);
		piece.ajouterObjet(obj);

		// --- SORTIE(S) ---
		s = new Sortie(4, 17, 17, 18, 12, 7);
		piece.ajouterSortie(s);

		s = new Sortie(4, 18, 17, 18, 12, 7);
		piece.ajouterSortie(s);

		id.add(piece);

		/*******************************************************
		 * Piece num22 *
		 *******************************************************/

		piece = new Piece(9, "COULOIR 1ER ETAGE", "couloir du 1ere etage",
				couloir_2, R.drawable.couloir_2, R.raw.montagnes, true);

		id.add(piece);

		/*******************************************************
		 * SALLE 209 *
		 *******************************************************/

		int[][] salle_209 = new int[][] {
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 0, 0, 1 },
				{ 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0,
						1, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 }, };

		piece = new Piece(23, "SALLE 209", "Salle 209 de TD", salle_209,
				R.drawable.salle_209, R.raw.mini_jeu_2, true);

		perso = new Personnage("Rafik", "etudiant", 16, 3,
				R.drawable.laurent_perso, "Recherche", 7);
		piece.ajouterPerso(perso);

		perso = new Personnage("guillaume", "etudiant", 20, 10,
				R.drawable.guillaume_perso, "Message", 48);
		piece.ajouterPerso(perso);

		// --- OBJET(S) ---

		// --- SORTIE(S) ---
		s = new Sortie(9, 23, 2, 18, 3, 13);
		piece.ajouterSortie(s);

		id.add(piece);

		/*******************************************************
		 * SALLE TD2 *
		 *******************************************************/

		int[][] salle_TD2 = new int[][] {
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0,
						0, 1, 1, 1, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0,
						1, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 }, };

		piece = new Piece(24, "SALLE 207", "Salle 207 de TD", salle_TD2,
				R.drawable.salle_td2, R.raw.mini_jeu_2, true);

		// --- OBJET(S) ---

		perso = new Personnage("Vincent", "etudiant", 12, 10,
				R.drawable.vincent_perso, "Enigme", 12);
		piece.ajouterPerso(perso);

		obj = new Objet("cd", "important",
				"mais c'est un cd que j'avais égaré", R.drawable.cd, 23, 5, 5);
		piece.ajouterObjet(obj);

		obj = new Objet("mobil", "divers", "telephone de dernière génération",
				R.drawable.kitkat, 4, 18, 5);
		piece.ajouterObjet(obj);

		obj = new Objet("ballon", "divers", "c'est pour jouer au foot",
				R.drawable.ballon, 4, 10, 5);
		piece.ajouterObjet(obj);

		// --- SORTIE(S) ---
		s = new Sortie(9, 2, 3, 18, 10, 13);
		piece.ajouterSortie(s);

		id.add(piece);

		/*******************************************************
		 * Salle TD *
		 *******************************************************/

		int[][] salle_TD = new int[][] {
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 0, 1, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0,
						0, 0, 0, 0, 1 },
				{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
						1, 1, 1, 1, 1 }, };
		piece = new Piece(25, "SALLE 208", "salle 208 de TD", salle_TD,
				R.drawable.salle_td, R.raw.mini_jeu_2, true);

		// --- OBJET(S) ---

		perso = new Personnage("Mr Turbergue", "prof", 10, 11,
				R.drawable.laymani, "Enigme", 9);
		piece.ajouterPerso(perso);
		obj = new Objet("casquette3", "vetement", "c pour le soleil",
				R.drawable.casquette, 7, 5, 5);
		piece.ajouterObjet(obj);

		obj = new Objet("kitkat", "nourriture", "il a l'air très apétissant",
				R.drawable.kitkat, 20, 10, 5);
		piece.ajouterObjet(obj);

		obj = new Objet("stylo", "cours", "très beau stylo!!!",
				R.drawable.stylo, 20, 17, 5);
		piece.ajouterObjet(obj);

		// --- SORTIE(S) ---
		s = new Sortie(9, 22, 3, 18, 15, 13);
		piece.ajouterSortie(s);

		id.add(piece);

		/*******************************************************
		 * Piece num26 *
		 *******************************************************/

		piece = new Piece(9, "COULOIR 1ER ETAGE", "couloir du 1ere etage",
				couloir_2, R.drawable.couloir_2, R.raw.montagnes, true);

		id.add(piece);

	}

}